package com.ruoyi.cat.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FinanceDTO {

    @ApiModelProperty("订单id")
    private Long id;

    @ApiModelProperty("交易单号")
    private String orderNo;

    @ApiModelProperty("订单名称")
    private String tradeTitle;

    @ApiModelProperty("项目金额")
    private BigDecimal tradeNum;

    @ApiModelProperty("用户名称")
    private String nickName;

    @ApiModelProperty("状态 0：收入；1：支出")
    private String tradeType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

}
